package com.haoke.commons.message;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author yue13
 * 商品购买消息类型
 */
@Data
@EqualsAndHashCode
@ToString
@NoArgsConstructor
public class HaokeBuyMessage extends HaokeMessage {
    /**
     * 要购买的商品主键
     */
    private String itemId;
    /**
     * 购买商品的用户
     */
    private String username;
}
